﻿var aTmpTests = new TestSiute();

unitTest = function TemplateSelectedItem(oTested)
{
	var oResult = new TestResult();
	var oMustVals = {};
	var oActualVals = {};

	oMustVals = $('#' + oTested.attr('id') + ' [data-jqc~="visible-value"]').html();
	oActualVals = oTested.jqcmbx('getActiveItem').html();

	oResult.title = 'Template: Visible value';
	oResult.must = oMustVals;
	oResult.actual = oActualVals;
	return oResult;
};
aTmpTests.push(unitTest);

function getTemplatesTests()
{
	return aTmpTests;
}